Skip to content

fix(duration): preserve weeks in toISOString output#2995

Open
leeyc924 wants to merge 1 commit intoiamkun:devfrom
leeyc924:dev
Open

fix(duration): preserve weeks in toISOString output#2995
leeyc924 wants to merge 1 commit intoiamkun:devfrom
leeyc924:dev

Conversation

@leeyc924
Copy link

Fix issue where weeks were being converted to days in ISO duration strings. Now weeks are preserved as a separate unit in the output, conforming to ISO 8601 standard.

Fixes #2859

Fix issue where weeks were being converted to days in ISO duration strings. Now weeks are preserved as a separate unit in the output, conforming to ISO 8601 standard.

Fixes [iamkun#2859](iamkun#2859)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calling toISOString on a Duration object does not return weeks

1 participant